// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
  compatibilityDate: '2025-07-15',
  devtools: { enabled: true },
//   head: {
//     charset: 'utf-8',
//     viewport: 'width=device-width, initial-scale=1',
//     meta: [
//       { name: 'description', content: '您的网站描述' },
// // Open Graph协议
//       { property: 'og', content: '您的网站标题' },
//       { property: 'og', content: '您的网站描述' },
//       { property: 'og', content: 'website' },
//       { property: 'og', content: process.env.BASE_URL || 'https://yourdomain.com' },
// // Twitter卡片
//       { name: 'twitter', content: 'summary_large_image' }
//     ]
//   },
  icon: {
    localApiEndpoint: '/nuxt-icon'
  },
  content: {

  },
  extractCSS: {
    allChunks: true
  },
  modules: [
    '@unocss/nuxt',
    '@nuxt/ui',
    '@nuxt/content',
    '@nuxt/eslint',
    '@nuxt/image',
    '@nuxt/scripts',
    '@nuxt/icon',
  ],
  css: ['~/assets/css/main.css'],
  build: {
    transpile: ['@nuxt/ui']
  }
})
